<extend name="Top::index" />
 <!-- 在这里面填写内容 -->
<block name="conter">	
			
		<!-- desktop bar -->
		<section class="desktop-bar">
			<div class="container">
				<div class="row">
					<div class="col-sm-4">
					 <h3>已购宝贝 <i class="fa fa-bars"></i></h3>
					</div>
					<div class="col-sm-8">
						<ol class="breadcrumb hidden-xs pull-right">
							<li><a href="#">Home</a></li>
							<li class="active"><a href="#">宝贝</a></li>
						</ol>
					</div>
				</div>
			</div>
		</section>

		<section class="blog-detail">
			<div class="container">
				<div class="row">
					<div class="col-sm-3 col31">
						<div class="sidebar">
							<div class="well wedget">
							 	<strong style="color:#FF5500;">我的交易</strong>
								<div class="heading-border b-color-6"></div>
								 <ul class="category-2">
									<li><a href="">个人资料 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
									<li><a href="">修改密码 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
									<li><a href="">已购宝贝 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
									<li><a href="">已购宝贝 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
									<li><a href="">会员信息 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
									<li><a href="">收货地址 <span class="pull-right glyphicon glyphicon-triangle-right"></span></a></li>
								</ul>
							</div>
							<div class="well wedget footer-top">
							 	<strong>Recent Post</strong>
								<div class="heading-border b-color-6"></div>
								<ul class="media-list recent-post">
									<li class="media">
										<!-- <div class="media-left"><img src="__PUBLIC__/index/images/featured-1.jpg" alt=""></div> -->
										<div class="media-body">
											<p class="media-heading">Lorem ipsum dolor sit amet mea aeterno</p>
											<small> March 14, 2015</small>
										</div>
									</li>
									
								</ul>
							</div>
							<div class="single-add">
								<h4>Get <span>50%</span> Discount</h4>
								<a href="#" class="btn btn-default" role="button">Learn More</a>
								<span class="img-add"><img class="img-responsive" src="__PUBLIC__/index/images/red-tablet.png" width="120px" alt="" /></span>
							</div>
							<div class="well text-widget wedget">
								<strong>Text Widget</strong>
								<div class="heading-border b-color-6"></div>
								<p>Lorem ipsum dolor sit amet, no mea aeterno indoctum percipitur. Homero quaerendum ius ei. In pro decore tamquam 									appetere, ea mentitum mediocrem efficiantur quo.</p>
							</div>
						</div>
					</div>
					<div class="col-sm-9 blog-detail-wrap wrap_sm9">
						<div class="row post-bottom">
							<div class="col-sm-12">
								<div class="panel-body">
										<div class="panelbody panelbody_top">
											<ul>
												<li class="bodyli11"><input type="checkbox">全选</li>
												<li class="bodyli12">宝贝</li>
												<li class="bodyli13">单价(元)</li>
												<li class="bodyli14">数量</li>
												<li class="bodyli15">金额(元)</li>
												<li class="bodyli16">交易状态</li>
												<li class="bodyli17">操作</li>
											</ul>
										</div>
										<!-- 遍历订单号 -->
										<foreach name="res" item="vres" >
										<div class="panel_cart order1_cart">
											<div class="panel_cart_table2 order1">
												<div class="panelbody bodys">
													<ul>
														<li class="body_li11"><input type="checkbox" value="" class="chexin"> <b>{$vres.addtime|date='Y-m-d',###}</b>&nbsp;&nbsp;订单编号:&nbsp;{$vres['ordernumber']}</li>
													</ul>
												</div>
												<foreach name="vres['son']" item="value" >
													<div class="_body_shop">
														<ul>
															<li class="panelsa1">
														<input type="checkbox" name="chebox1" class="chebox1">
														<img src="__PUBLIC__/index/images/1.jpg" class="chebox1_img">
														</li>
														<li class="panelsa2">{$value['gname']}{$value['gname']}{$value['gname']}</li>
														
														<li class="panelsa3">{$value['gprice']}</li>
														<li class="panelsa4">{$value['orinfonum']}</li>
														<li class="panelsa5">{$value['orinfonum']*$value['gprice']}.00</li>
														<li class="panelsa6">
															<a href="">订单详情</a><br>
															<switch name="value['ors']" >    
											                  	<case value="0">未发货</case><br>   
											                  	<case value="1"><a href="{:U('show',array('id'=>$value['orid']))}">签收</a></case>
											                  	<case value="2">以签收</case>      
										                  	</switch>														
										                </li>
														<li class="panelsa6">
															<switch name="value['orf']" >    
											                  	<case value="0"><a href="{:U('del',array('id'=>$value['orid']))}">取消订单</a></case><br>   
											                  	<case value="1">
											                  		<!-- 签收了货物才能删除 -->
																	<if condition="$value['ors'] eq 2">
											                  				<a href="{:U('del',array('id'=>$value['orid']))}"><span class="glyphicon glyphicon-trash"></span></a>
											                  		</if>		
											                  	</case>  <br>      
										                  	</switch>
										                  	<br>
															<switch name="value['orf']" >    
											                  	<case value="0"><a href="{:U('fu',array('id'=>$value['orid']))}">付款</a></case><br>   
											                  	<case value="1"><a href="{:U('Details/index',array('id'=>$value['gid'],'orl_id'=>$vres['id']))}#evaluation"><button type="button" class="btn btn-default btn-xs">评价</button></a></case>    
										                  	</switch>
															
														</li>
														</ul>
													</div>
												</foreach>
											</div>
											</foreach>										
											<!-- 订单编号遍历结束 -->
											
										</div>
								<div class="blog-content">
									<h2>Lorem ipsum dolor sit amet mea aeterno</h2>
									<ul class="list-inline post-info">
										<li>Septembar 12, 2016</li>
										<li><a href="#"><i class="fa fa-user"></i> Jhon Ray</a></li>
										<li><a href="#"><i class="fa fa-bookmark"></i> Category Name</a></li>
										<li><a href="#"><i class="fa fa-comment"></i> 5 Comments</a></li>
										<li><a href="#"><i class="fa fa-plus"></i> Read More</a></li>
									</ul>

									<p>Lorem ipsum dolor sit amet, no mea aeterno indoctum percipitur. Homero quaerendum ius ei. In pro decore tamquam 									appetere, ea mentitum mediocrem efficiantur quo. Quo no assentior conclusionemque. Qui cu ceteros accusata. Partem 									utamur explicari eos at. Ad brute veritus theophrastus vis, an quo mutat voluptaria mnesarchum.</p>
									<p>Lorem ipsum dolor sit amet, no mea aeterno indoctum percipitur. Homero quaerendum ius ei. In pro decore tamquam 									appetere, ea mentitum mediocrem efficiantur quo. Quo no assentior conclusionemque. Qui cu ceteros accusata. Partem 									utamur explicari eos at. Ad brute veritus theophrastus vis, an quo mutat voluptaria.</p>
								</div>
							</div>
						</div>
						

						
						<div class="row">
							<div class="col-sm-12">
								<nav>
								  	<ul class="pager">
										<li class="previous"><a href="#"><span aria-hidden="true">&larr;</span> Prev</a></li>
										<li class="next"><a href="#">Next <span aria-hidden="true">&rarr;</span></a></li>
									</ul>
								</nav>
							</div>
						</div>	
					</div>
				</div>
			</div>
		</section>
		
		<!-- sponsor -->
		<section class="sponsor">
			<div class="container">			
				<div id="sponsor" class="carousel slide" data-ride="carousel">
					<div class="carousel-inner" role="listbox">
						<div class="item active">
							<div class="row">	
								<div class="col-sm-12">
									<ul class="list-inline text-center">
										<li><img class="" src="__PUBLIC__/index/images/1.gif" /></li>
										<li><img class="" src="__PUBLIC__/index/images/2.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/3.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/4.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/5.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/6.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/7.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/8.png" /></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="item">
							<div class="row">	
								<div class="col-sm-12">
									<ul class="list-inline text-center">
										<li><img class="" src="__PUBLIC__/index/images/1.gif" /></li>
										<li><img class="" src="__PUBLIC__/index/images/2.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/3.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/4.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/5.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/6.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/7.png" /></li>
										<li><img class="" src="__PUBLIC__/index/images/8.png" /></li>
									</ul>
								</div>
							</div>
						</div>
					</div>
					<!-- Controls -->
				<a class="control-left" href="#sponsor" role="button" data-slide="prev"><i class="fa fa-angle-left"></i></a>
				<a class="control-right" href="#sponsor" role="button" data-slide="next"><i class="fa fa-angle-right"></i></a>
				</div>			
			</div>
		</section>	
		
		<!-- social icons -->
		<section class="social-icons">
			<div class="container">			
				<div class="row">	
					<div class="col-sm-12">
						<ul class="list-inline text-center">
							<li><a href="#" ><i class="fa fa-facebook"></i></a></li>
							<li><a href="#" ><i class="fa fa-spotify"></i></a></li>
							<li><a href="#" ><i class="fa fa-tumblr"></i></a></li>
							<li><a href="#" ><i class="fa fa-share-alt"></i></a></li>
							<li><a href="#" ><i class="fa fa-linkedin"></i></a></li>
							<li><a href="#" ><i class="fa fa-delicious"></i></a></li>
							<li><a href="#" ><i class="fa fa-instagram"></i></a></li>
							<li><a href="#" ><i class="fa fa-dropbox"></i></a></li>
							<li><a href="#" ><i class="fa fa-soundcloud"></i></a></li>
							<li><a href="#" ><i class="fa fa-pinterest"></i></a></li>
							<li><a href="#" ><i class="fa fa-google-plus"></i></a></li>
							<li><a href="#" ><i class="fa fa-github-alt"></i></a></li>
							<li><a href="#" ><i class="fa fa-skype"></i></a></li>
							<li><a href="#" ><i class="fa fa-stumbleupon"></i></a></li>
							<li><a href="#" ><i class="fa fa-youtube"></i></a></li>
						</ul>
					</div>
				</div>
			</div>
		</section>	
		
		<footer>
			<div class="footer-top">
				<div class="container">			
					<div class="row">	
						<div class="col-sm-3">
							<h2>About E-Market</h2>
							<div class="heading-border b-color-1"></div>
							<p>Nam apeirian assentior ei, utquo eros posse verterem. Cum eu error congue saperet. Te eam exerci vulputate consetetur, 								causae consulatu eaper,  apeirian assentior ei, utquo eros posse verterem. Cum eu error congue saperet. Te eam exerci 								vulputate consetetur, causae consulatu eaper</p>
							<div><a href="">Read More <i class="fa fa-angle-double-right"></i></a></div>
							<strong>Newsletter</strong>
							<form class="navbar-for" role="email">
								<div class="form-group">
									<input type="text" class="form-control" placeholder="Email Address">
									<span class="nav-search"><a href="#"><i class="fa fa-envelope"></i></a></span>
								</div>	
							</form>
							<small>Eros posse verterem congue saperet.</small>
						</div>
						<div class="col-sm-3">
							<h2>Featured Products</h2>
							<div class="heading-border b-color-1"></div>
							<ul class="media-list">
								<li class="media">
									<div class="media-left"><img src="__PUBLIC__/index/images/featured-1.jpg" alt=""></div>
									<div class="media-body">
										<p class="media-heading">Lorem ipsum dolor sit amet</p>
										<div class="category">
											<i class="fa fa-star"></i>
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star-o"></i>
										</div>
										<strong>$899.99</strong>
									</div>
								</li>
								<li class="media">
									<div class="media-left"><img src="__PUBLIC__/index/images/featured-1.jpg" alt=""></div>
									<div class="media-body">
										<p class="media-heading">Lorem ipsum dolor sit amet</p>
										<div class="category">
											<i class="fa fa-star"></i>
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star-o"></i>
										</div>
										<strong>$899.99</strong>
									</div>
								</li>
								<li class="media">
									<div class="media-left"><img src="__PUBLIC__/index/images/featured-1.jpg" alt=""></div>
									<div class="media-body">
										<p class="media-heading">Lorem ipsum dolor sit amet</p>
										<div class="category">
											<i class="fa fa-star"></i>
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star"></i> 
											<i class="fa fa-star-o"></i>
										</div>
										<strong>$899.99</strong>
									</div>
								</li>
							</ul>
						</div>
						<div class="col-sm-3">
							<h2>Latest News</h2>
							<div class="heading-border b-color-1"></div>
							<ul class="media-list">
								<li class="media">
									<div class="media-left text-center">
										<img src="__PUBLIC__/index/images/featured-1.jpg" alt="">
										<span><i class="fa fa-search"></i></span>
									</div>
									<div class="media-body">
										<p class="f-border">Lorem ipsum dolor sit amet, an animal feugait</p>
										<p class="f-date">23 August 2015</p>
									</div>
								</li>
								<li class="media">
									<div class="media-left text-center">
										<img src="__PUBLIC__/index/images/featured-1.jpg" alt="">
										<span><i class="fa fa-search"></i></span>
									</div>
									<div class="media-body">
										<p class="f-border">Lorem ipsum dolor sit amet, an animal feugait</p>
										<p class="f-date">23 August 2015</p>
									</div>
								</li>
								<li class="media">
									<div class="media-left text-center">
										<img src="__PUBLIC__/index/images/featured-1.jpg" alt="">
										<span><i class="fa fa-search"></i></span>
									</div>
									<div class="media-body">
										<p class="f-border">Lorem ipsum dolor sit amet, an animal feugait</p>
										<p class="f-date">23 August 2015</p>
									</div>
								</li>
							</ul>
						</div>
						<div class="col-sm-3">
							<h2>Contact us</h2>
							<div class="heading-border b-color-1"></div>
							<strong class="media-heading">Address</strong>
							<p>Lebel 2, 13 Elezabe St, Melbounire, Victoria 3000, +8492575, USA</p>

							<strong class="media-heading">Phone & Fax</strong>
							<p>+880183947930</p>
							<p>+(980)1839479</p>

							<strong class="media-heading">E-Mail Address</strong>
							<p>support@gmail.com</p>
							<p>example@gmail.com</p>
						</div>
					</div>
				</div>
			</div>
			<div class="footer-bottom">
				<div class="container">		
					<div class="row">	
						<div class="col-sm-12 text-center">
							<p>Copyright 2015 made by <a href="#">Bootultra.com</a> & Disign by Shaifuddin. All Rights Reserved.</p>
							<ul class="list-inline center-block">
								<li><a href="#"><img src="__PUBLIC__/index/images/card-1.png"></a></li>
								<li><a href="#"><img src="__PUBLIC__/index/images/card-2.png"></a></li>
								<li><a href="#"><img src="__PUBLIC__/index/images/card-3.png"></a></li>
								<li><a href="#"><img src="__PUBLIC__/index/images/card-4.png"></a></li>
								<li><a href="#"><img src="__PUBLIC__/index/images/card-5.png"></a></li>
							</ul>
						</div>
					</div>
				</div>	
			</div>
		</footer>
			
        <!-- ALL JAVASCRIPT -->         
        <script src="__PUBLIC__/index/js/jquery.js"></script>
        <script src="__PUBLIC__/index/bootstrap/js/bootstrap.min.js"></script>
        <script src="__PUBLIC__/index/js/custom.js"></script>
    </body>
</html>
</block>